package cn.getech.data.metadata.service;

import cn.getech.data.metadata.model.dto.CollectionTableChangeNotifyDto;
import cn.getech.data.metadata.model.dto.CollectionTableFieldDto;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.getech.data.intelligence.common.utils.PageUtils2;
import cn.getech.data.metadata.entity.CollectionTableChangeNotifyEntity;

import java.util.List;
import java.util.Map;

/**
 * 采集表信息变更通知
 *
 * @author qiuxinglei
 * @email qiuxinglei@gmail.com
 * @date 2020-11-05 15:07:33
 */
public interface CollectionTableChangeNotifyService extends IService<CollectionTableChangeNotifyEntity> {

    PageUtils2<CollectionTableChangeNotifyEntity> queryPage(Map<String, Object> params);

    List<CollectionTableChangeNotifyDto> listChangeNotify();

    List<CollectionTableFieldDto> listTableField(Long taskLogId, Integer tableId);

    void deleteAndAddHistory(Long tcnId);
}

